home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gSplit
- hPositionSet()
- set the locH of sprite 1 to ((the locH of sprite 46 - 103) * 51 / 12) - 572
- if the castNum of sprite 39 = the number of member "pixel" then
- case 1 of
- ((the locH of sprite 1 > -650) and (the locH of sprite 1 < -290)):
- if gSplit = 2 then
- hHotRect(4, "hotRect1", -924, 97, 94, 165)
- hRolCheck(4, 2, 44, 45, -1023, 257, "bell.pict3", "prologue.label")
- else
- if gSplit = 4 then
- hHotRect(4, "hotRect1", 9999, 185, 288, 263)
- end if
- end if
- ((the locH of sprite 1 > -290) and (the locH of sprite 1 < 385)):
- hHotRect(4, "hotRect1", -202, 116, 144, 220)
- hRolCheck(4, 2, 44, 45, -274, 278, "train.pict", "unit 6.label")
- ((the locH of sprite 1 > 376) and (the locH of sprite 1 < 1033)):
- hHotRect(4, "hotRect1", 434, 111, 113, 206)
- hRolCheck(4, 2, 44, 45, 372, 261, "radio.pict", "unit 8.label")
- ((the locH of sprite 1 > 1046) and (the locH of sprite 1 < 1390)):
- hHotRect(4, "hotRect1", 1100, 110, 107, 136)
- hRolCheck(4, 2, 44, 45, 1043, 192, "computer.pict2", "unit 10.label")
- end case
- case 1 of
- ((the locH of sprite 1 > -650) and (the locH of sprite 1 < 20)):
- hHotRect(5, "hotRect2", -562, 87, 121, 202)
- hRolCheck(5, 3, 45, 44, -625, 243, "cannon.pict2", "unit 5.label")
- ((the locH of sprite 1 > 38) and (the locH of sprite 1 < 691)):
- hHotRect(5, "hotRect2", 102, 106, 109, 168)
- hRolCheck(5, 3, 45, 44, 49, 218, "factory.pict2", "unit 7.label")
- ((the locH of sprite 1 > 736) and (the locH of sprite 1 < 1357)):
- hHotRect(5, "hotRect2", 780, 103, 101, 133)
- hRolCheck(5, 3, 45, 44, 725, 186, "capsule.pict", "unit 9.label")
- end case
- hCheckButtons()
- end if
- hScrollCheck()
- if the castNum of sprite 39 <> the number of member "pixel" then
- set the locH of sprite 4 to 9995
- set the locH of sprite 5 to 9995
- end if
- if the castNum of sprite 39 = the number of member "menu" then
- if the castNum of sprite 44 = the number of member "prologue.label" then
- hMenuRoll(40, "prologue.rev", "prologue", rect(175, 150, 464, 166))
- hMenuRoll(41, "pixel", "pixel", rect(175, 167, 464, 183))
- hMenuRoll(42, "pixel", "pixel", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- if the castNum of sprite 45 = the number of member "unit 5.label" then
- if gSplit = 2 then
- hMenuRoll(40, "unit5.ch1rev", "unit5.ch1", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit5.ch2rev", "unit5.ch2", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit5.ch3rev", "unit5.ch3", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- else
- if gSplit = 4 then
- hMenuRoll(40, "unit5.ch13rev", "unit5.ch13", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit5.ch14rev", "unit5.ch14", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit5.ch15rev", "unit5.ch15", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- end if
- end if
- if the castNum of sprite 44 = the number of member "unit 6.label" then
- if gSplit = 2 then
- hMenuRoll(40, "unit6.ch4rev", "unit6.ch4", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit6.ch5rev", "unit6.ch5", rect(175, 167, 464, 183))
- hMenuRoll(42, "pixel", "pixel", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- else
- if gSplit = 4 then
- hMenuRoll(40, "unit6.ch16rev", "unit6.ch16", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit6.ch17rev", "unit6.ch17", rect(175, 167, 464, 183))
- hMenuRoll(42, "pixel", "pixel", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- end if
- end if
- if the castNum of sprite 45 = the number of member "unit 7.label" then
- if gSplit = 2 then
- hMenuRoll(40, "unit7.ch6rev", "unit7.ch6", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit7.ch7rev", "unit7.ch7", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit7.ch8rev", "unit7.ch8", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- else
- if gSplit = 4 then
- hMenuRoll(40, "unit7.ch18rev", "unit7.ch18", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit7.ch19rev", "unit7.ch19", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit7.ch20rev", "unit7.ch20", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- end if
- end if
- if the castNum of sprite 44 = the number of member "unit 8.label" then
- if gSplit = 2 then
- hMenuRoll(40, "unit8.ch9rev", "unit8.ch9", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit8.ch10rev", "unit8.ch10", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit8.ch11rev", "unit8.ch11", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- else
- if gSplit = 4 then
- hMenuRoll(40, "unit8.ch21rev", "unit8.ch21", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit8.ch22rev", "unit8.ch22", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit8.ch23rev", "unit8.ch23", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- end if
- end if
- if the castNum of sprite 45 = the number of member "unit 9.label" then
- if gSplit = 2 then
- hMenuRoll(40, "unit9.ch12rev", "unit9.ch12", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit9.ch13rev", "unit9.ch13", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit9.ch14rev", "unit9.ch14", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- else
- if gSplit = 4 then
- hMenuRoll(40, "unit9.ch24rev", "unit9.ch24", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit9.ch25rev", "unit9.ch25", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit9.ch26rev", "unit9.ch26", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- end if
- end if
- if the castNum of sprite 44 = the number of member "unit 10.label" then
- if gSplit = 2 then
- hMenuRoll(40, "unit10.ch15rev", "unit10.ch15", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit10.ch16rev", "unit10.ch16", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit10.ch17.rev", "unit10.ch17", rect(175, 185, 464, 201))
- hMenuRoll(43, "unit10.ch18rev", "unit10.ch18", rect(175, 202, 464, 218))
- else
- if gSplit = 4 then
- hMenuRoll(40, "unit10.ch27rev", "unit10.ch27", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit10.ch28rev", "unit10.ch28", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit10.ch29rev", "unit10.ch29", rect(175, 185, 464, 201))
- hMenuRoll(43, "unit10.ch30rev", "unit10.ch30", rect(175, 202, 464, 218))
- end if
- end if
- end if
- end if
- go(the frame)
- end
-